package com.atguigu.mediator.smarthouse;

public abstract class Mediator {

	//将中介者对象加入集合中
	public abstract void register(String name, Colleague colleague);

	//接收消息，具体的同事对象发出
	public abstract void getMessage(int stateChange, String name);
	
	public abstract void sendMessage();
}
